﻿// See https://aka.ms/new-console-template for more information
using RuoVea.ExCache;
Console.WriteLine(CacheFactery._cacheType);
Console.WriteLine(CacheFactery.CaChe.Write("permission_142307070910551","asdasdasdasd") );
Console.WriteLine(CacheFactery.CaChe.Write("permission_142307070910552","asdasasdasdasdasdasdasd") );

var  tt =await CacheFactery.CaChe.DelAsync("permission_");

Console.WriteLine(CacheFactery.CaChe.Cof_ReadWrite<string>("permission_142307070910551", () => { return "获取值"; }, new TimeSpan(3)));

Console.WriteLine(tt);



Console.ReadKey();